﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Work.BL.Managers;

namespace Work.UI.Web.MVC.Controllers
{
    public class HomeController : Controller
    {
        #region Fields

        private ISectionManager _sectionManager;

        #endregion

        #region Constructors

        public HomeController(ISectionManager sectionManager)
        {
            _sectionManager = sectionManager;
        }

        #endregion

        public ActionResult Employee()
        {
            return View();
        }

        public ActionResult Employer()
        {
            ViewBag.Section = _sectionManager.GetSections();
            ViewBag.Count = 0;
            return View();
        }
    }
}
